package com.yimi.yinhepda.db.table;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import com.pda.ym.utils.DateHelper;

import java.util.Date;

/**
 * @author: lj
 * Date: 2019/11/15 15:30
 * Description:截留件表
 */
@DatabaseTable(tableName = "JieLiuJianTable")
public class JieLiuJianTable {

    @DatabaseField(generatedId = true)
    private transient Long id;
    /**
     * 运单号
     */
    @DatabaseField(uniqueIndex = true)
    private String billCode;
    /**
     * 标识：lanjiejian / jieliujian
     */
    @DatabaseField()
    private String nosPdaMark;
    /**
     * 操作状态：1-未处理，2已处理
     */
    @DatabaseField()
    private String operateStatus;
    /**
     * 创建时间（yyyy-MM-dd HH:mm:ss）
     */
    @DatabaseField()
    private String createTime;

    public JieLiuJianTable() {
        createTime = DateHelper.getDateTimeFormate(new Date());
    }

    public String getBillCode() {
        return billCode;
    }

    public void setBillCode(String billCode) {
        this.billCode = billCode;
    }

    public String getNosPdaMark() {
        return nosPdaMark;
    }

    public void setNosPdaMark(String nosPdaMark) {
        this.nosPdaMark = nosPdaMark;
    }

    public String getOperateStatus() {
        return operateStatus;
    }

    public void setOperateStatus(String operateStatus) {
        this.operateStatus = operateStatus;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
